package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalCustomerDao;
import com.appkubes.portal.core.entity.PortalCustomer;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalCustomerService extends AbstractBaseService<BasePortalCustomerDao, PortalCustomer> {

    PortalCustomer getOneByEntity(PortalCustomer entity);

    List<PortalCustomer> selectListByEntity(PortalCustomer entity);

    IPage<PortalCustomer> selectPageByEntity(IPage<PortalCustomer> page);
    IPage<PortalCustomer> selectPageByEntity(PageVO pageVO);

    IPage<PortalCustomer> selectPageByEntity(PortalCustomer entity, IPage<PortalCustomer> page);
    IPage<PortalCustomer> selectPageByEntity(PortalCustomer entity, PageVO pageVO);

    IPage<PortalCustomer> selectPageByEntity(PortalCustomer entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalCustomer entity);
}
